Excel PowerPivots:  Renaming sheet in PowerPivot window disconnects related pivot tables

I'm running PowerPivots in Excel 2010.  When I renamed the sheets in the PowerPivot window and then went back to the related pivot tables and refreshed them I got the following error and the pivot tables where disconnected completely from there data source and destroyed.  I read a related post on this in MSN that indicated that refreshing the data sources in the PowerPivot windows resolves this problem, but it didn't in my case.  Can anyone suggest the protocol for resolving this?

Thanks,

...bob

November 21st, 2013 1:03pm

This can happen with customer that copy and paste pivot tables from one spreadsheet to another. The problem happens if the different spreadsheets happen to have connections with the same name but point to different data sources. When you do the copy/paste operation Excel considers that the connections with the same name are the same and replaces the connection information on the current spreadsheet with the content of the connection of the pivot table you are pasting. The problem does not happen until you close the excel file, open again and refresh the pivot table.

It seems to me that the issue is because excel is not checking if the connections are 100% the same. We should prompt to create a new connection when we see the difference, this would avoid the problem.

The workaround is to make sure your connections have different names when you are doing copy and paste operations with pivot tables.

Cheers,
Tony Chen
Forum Support
________________________________________
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact tnmff@microsoft.com.



Free Windows Admin Tool Kit Click here and download it now
November 21st, 2013 9:53pm

This can happen with customer that copy and paste pivot tables from one spreadsheet to another. The problem happens if the different spreadsheets happen to have connections with the same name but point to different data sources. When you do the copy/paste operation Excel considers that the connections with the same name are the same and replaces the connection information on the current spreadsheet with the content of the connection of the pivot table you are pasting. The problem does not happen until you close the excel file, open again and refresh the pivot table.

It seems to me that the issue is because excel is not checking if the connections are 100% the same. We should prompt to create a new connection when we see the difference, this would avoid the problem.

The workaround is to make sure your connections have different names when you are doing copy and paste operations with pivot tables.

Cheers,
Tony Chen
Forum Support
________________________________________
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact tnmff@microsoft.com.



November 22nd, 2013 5:51am

This can happen with customer that copy and paste pivot tables from one spreadsheet to another. The problem happens if the different spreadsheets happen to have connections with the same name but point to different data sources. When you do the copy/paste operation Excel considers that the connections with the same name are the same and replaces the connection information on the current spreadsheet with the content of the connection of the pivot table you are pasting. The problem does not happen until you close the excel file, open again and refresh the pivot table.

It seems to me that the issue is because excel is not checking if the connections are 100% the same. We should prompt to create a new connection when we see the difference, this would avoid the problem.

The workaround is to make sure your connections have different names when you are doing copy and paste operations with pivot tables.

Cheers,
Tony Chen
Forum Support
________________________________________
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact tnmff@microsoft.com.



Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2013 5:51am

This can happen with customer that copy and paste pivot tables from one spreadsheet to another. The problem happens if the different spreadsheets happen to have connections with the same name but point to different data sources. When you do the copy/paste operation Excel considers that the connections with the same name are the same and replaces the connection information on the current spreadsheet with the content of the connection of the pivot table you are pasting. The problem does not happen until you close the excel file, open again and refresh the pivot table.

It seems to me that the issue is because excel is not checking if the connections are 100% the same. We should prompt to create a new connection when we see the difference, this would avoid the problem.

The workaround is to make sure your connections have different names when you are doing copy and paste operations with pivot tables.

Cheers,
Tony Chen
Forum Support
________________________________________
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact tnmff@microsoft.com.



November 22nd, 2013 5:51am

I'm not copying and pasting data.  The connection is to a SQL Server View and of course there can't be two views with the same name in the same database instance.  As pointed out in my original post, the error only appears when I leave the PowerPivot window (after refreshing PowerPivot connection, after changing sheet name) and then refresh any of the pivot tables using the data related to the connection sheet.  At that point the pivot table is blank and needs to be completely rebuilt.  These pivots are complex and time consuming to rebuild.

Thanks for the input, even though it was not on point.

...bob

Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2013 1:05pm

Hi Bob,

I am trying to involve someone familiar with this topic to further look at this issue. Appreciate your patience.

Cheers,
Tony Chen
Forum Support
________________________________________
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact tnmff@microsoft.com.

December 2nd, 2013 1:28am

Hi Bob,

Can you create a new Power Pivot and test the same behavior on the machine?
I think the connection that is created will still point to the old name.
Please check the table name in the connection query.

Regards,
Rohit.

Free Windows Admin Tool Kit Click here and download it now
December 4th, 2013 6:52pm

I'm removing this off the forum since I have received no helpful replies.

I do appreciate those individuals who at least tried. 

Thanks,

...bob

December 6th, 2013 9:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics